package com.orange.modules.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name="t_auth_expert_power_map")
@Entity
public class AuthExpertPowerMap {

	private String pid;
	
	private String expertId;   //专家ID
	
	private String powerType;  //权限类型（10：一级指标   11：必測项目  12：选测项目  13：其他任务）
	
	private String powerValue; //权限值
	
	private String createTime; //创建时间
	
	private String sid;//学校ID
	
	private String powerName;//权限名称
	
	private String schoolName;//学校名称
	
	private String schoolMajor;//该学校专业

	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	@Column(name = "s_expert_id")
	public String getExpertId() {
		return expertId;
	}
	@Column(name = "power_type")
	public String getPowerType() {
		return powerType;
	}
	@Column(name = "power_value")
	public String getPowerValue() {
		return powerValue;
	}
	@Column(name = "s_create_time")
	public String getCreateTime() {
		return createTime;
	}
	@Column(name = "s_sid")
	public String getSid() {
		return sid;
	}
	@Transient
	public String getPowerName() {
		return powerName;
	}
	@Transient
	public String getSchoolName() {
		return schoolName;
	}
	@Transient
	public String getSchoolMajor() {
		return schoolMajor;
	}
	public void setSchoolName(String schoolName) {
		this.schoolName = schoolName;
	}
	public void setSchoolMajor(String schoolMajor) {
		this.schoolMajor = schoolMajor;
	}
	public void setPowerName(String powerName) {
		this.powerName = powerName;
	}
	public void setSid(String sid) {
		this.sid = sid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}

	public void setExpertId(String expertId) {
		this.expertId = expertId;
	}

	public void setPowerType(String powerType) {
		this.powerType = powerType;
	}

	public void setPowerValue(String powerValue) {
		this.powerValue = powerValue;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	
	
	
}
